import request from '@/utils/request'

// 查询题库纠错记录列表
export function listQbmsRecordFix(query) {
  return request({
    url: '/qbms/qbmsRecordFix/list',
    method: 'get',
    params: query
  })
}

// 查询题库纠错记录详细
export function getQbmsRecordFix(id) {
  return request({
    url: '/qbms/qbmsRecordFix/' + id,
    method: 'get'
  })
}

// 新增题库纠错记录
export function addQbmsRecordFix(data) {
  return request({
    url: '/qbms/qbmsRecordFix',
    method: 'post',
    data: data
  })
}

// 修改题库纠错记录
export function updateQbmsRecordFix(data) {
  return request({
    url: '/qbms/qbmsRecordFix',
    method: 'put',
    data: data
  })
}

// 删除题库纠错记录
export function delQbmsRecordFix(id) {
  return request({
    url: '/qbms/qbmsRecordFix/' + id,
    method: 'delete'
  })
}
